/**
 * Created by Administrator on 2014/12/30 0030.
 */
function Weiba() {
    base(this, LSprite, []);
    var self = this;
    self.mode = "";
    var list, data;
    list = LGlobal.divideCoordinate(2378, 148, 1,10);
    data = new LBitmapData(datalist["weiba"], 0, 0, 119, 148);
    self.anime = new LAnimation(self, data, list);
    self.step = 10, self.stepindex = 0
};
Weiba.prototype.run = function() {
    var self = this;
    if (self.stepindex++ > self.step) {
        self.stepindex = 0;
        self.anime.onframe()
    }
};

Weiba.prototype.onframe=function(){
    var self = this;
};